package com.ruoyi.projects.domain;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图片信息对象 b_img
 *
 * @author yangz
 * @date 2023-02-02
 */
public class Img extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 文件名 */
    @Excel(name = "文件名")
    private String filename;

    /** 图片url */
    @Excel(name = "图片url")
    private String url;

    public Img(String filename, String url){
        this.filename=filename;
        this.url=url;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setFilename(String filename)
    {
        this.filename = filename;
    }

    public String getFilename()
    {
        return filename;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }

}
